package com.lanxin.stu.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * @author cyh
 * @create 2025-09-18 14:28
 */
@Data
@ApiModel(value = "检查班级名称")
public class ClassesCheckDTO implements Serializable {

    @ApiModelProperty(value = "班级编号",required = false)
    private Integer id;

    @ApiModelProperty(value = "班级名称",required = true)
    @NotBlank(message = "班级名称不能为空")
    private String cname;
}